package cn.iocoder.yudao.module.resource.controller.admin.keyword.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 关键字新增/修改 Request VO")
@Data
public class KeyWordSaveReqVO {

    @Schema(description = "唯一自增id", requiredMode = Schema.RequiredMode.REQUIRED, example = "8706")
    private Integer id;

    @Schema(description = "关键字名字", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "关键字名字不能为空")
    private String keyWord;

}